<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <p>&lt;&gt;</p>
  <!-- <meta name='keywords' content='HTML5,CSS'>
  <meta name='description' content='这是个好网站'> -->

  <!-- <meta http-equiv='refresh' content='3;url=www.baidu.com'> -->
  <!-- 将页面重定向到另一个页面，content里面的'3'，代表3秒后完成跳转
          url代表跳转后的地址 -->

  <!-- <meta http-equiv='refresh' content='3;url=https://www.baidu.com'> -->
  <hgroup>
    <h1>12</h1>
    <h2>34</h2>
  </hgroup>
  鲁迅说：
  <blockquote>都挺好</blockquote>

  子曰：<q>你真好啊</q>

  <!-- <meta http-equiv="refresh" content="1;url=https://www.taobao.com"> -->
  <script>
    var maxArray = function (arr) {
      const n = arr.length
      arr.sort((a, b) => a - b)
      arr[0] = 1
      for (let i = 1; i < n; i++) {
        arr[i] = Math.min(arr[i], arr[i - 1] + 1)
      }
      return arr[n - 1]
    }
    console.log(maxArray(arr = [2, 2, 1, 2, 1]))
  </script>
</body>

</html>